home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
adl.arc
/
DL-SRCE.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1987-07-06
|
1KB
|
62 lines
GOSU DL
ASSI S1 S2
GOSU DL
ASSI S1 S3
GOSU DL
ASSI S1 S4
GOSU DL
ASSI S1 S5
GOSU DL
ASSI S1 S6
GOSU DL
ASSI S1 S7
GOSU DL
ASSI S1 S8
GOSU DL
ASSI S1 S9
GOSU DL
MESS "^M^J"
TRAN ".M 000!"
WAIT "<H>elp:" 240
FIND S0 "Y"
IF FOUN
EXEC "OFF"
ENDI
EXEC "helpsig"
DL:
FIND S1 "XXX"
IF FOUN
MESS "^M^J"
TRAN ".M 000!"
WAIT "<H>elp:" 240
FIND S0 "Y"
IF FOUN
EXEC "OFF"
ENDI
EXEC "helpsig"
ENDI
RFLU
TRAN ".M LIBRARY 2 "
TRAN S1
TRAN " KE!"
WAIT "^M" ;wait for carriage return echo
MESS "Please wait a moment for database access..."
WAIT "^M" 240 ;wait for <CR> from blank line
RGET S0 240 ;get the next line of output
FIND S0 "KERMIT" ;prompt means filename was valid
IF FOUN
WAIT "<N>ext:" ;wait for download prompt
TRAN "!"
WAIT "computer." 240 ;wait for Source Kermit to start
GETF KERM
WAIT "inue: " 240 ;wait for 'continue:' prompt
MESS "^M^JPlease wait a moment. DON'T press the RETURN key."
ELSE
PAUSE 2 ;wait for the complete prompt
ALARM 1
MESS "^M^JThe file was not found. Proceeding to next filename."
ENDIF ;all done
RETURN ;go back where you came from